﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Bird:Animal,IHome
    {
        public Bird() { }
        public Bird(string name) : base(name) { }


        public void Fly()
        {
            Console.WriteLine("我会飞");
        }

        public void home()
        {
            Console.WriteLine("我还会筑巢");
        }
    }
}
